﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DentalSoftware
{
    public partial class ThemDotDieuTri : Form
    {
        private DieuTriForm dt;
        public ThemDotDieuTri(DieuTriForm dieutri)
        {
            InitializeComponent();
            dt = dieutri;
        }

        private void btnLuu_Click(object sender, EventArgs e)
        {           
            dt.ngayDieuTri = monthCalendar1.SelectionStart;
            this.DialogResult = DialogResult.OK;
            this.Close();
        }

        private void btnThoat_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.Cancel;
            this.Close();
        }            
    }
}
